package cn.wind.xboot.module.app.v1.vo;

import cn.wind.xboot.core.constant.ApiConstant;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * <p>Title: SignUpVo</p>
 * <p>Description: TODO</p>
 *
 * @author xukk
 * @version 1.0
 * @date 2018/8/13
 */
@Data
public class SignUpVo {
    @NotBlank
    private String mobile;
    @NotBlank
    @Pattern(regexp = ApiConstant.MIDDLE_PASSWORD,message = "字母+数字+特殊字符(最少包含两者)，且长度要在8-16位之间")
    private String password;
    private String nickName;
    @NotBlank
    private String smsCode;
}
